package com.genersoft.iot.vmp.storager.dao;

import com.genersoft.iot.vmp.gb28181.bean.DeviceFace;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface DeviceFaceMapper {

    @Insert("INSERT INTO wvp_device_face (" +
            "device_id, " +
            "address, " +
            "type, " +
            "image, " +
            "users, " +
            "number, " +
            "create_time" +
            ") VALUES (" +
            "#{deviceId}," +
            "#{address}," +
            "#{type}," +
            "#{image}," +
            "#{users}," +
            "#{number}," +
            "#{createTime}"+
            ")")
    void insert(DeviceFace deviceFace);
}
